package com.crois.barrier.plugin;

import org.springframework.web.server.ServerWebExchange;
import reactor.core.publisher.Mono;

/**
 * @author Hou Ze Yu
 * @description Door插件链
 * @date 2020/7/12
 */
public interface BarrierPluginChain {
    /**
     *委派执行链到下一个插件
     * @param exchange
     * @return
     */
    Mono<Void> execute(ServerWebExchange exchange);
}
